package com.qf.pojo;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzy
 * @since 2020-11-28
 */
@Data

@NoArgsConstructor
public class Userdetail implements Serializable {


    private Integer id;

    private Integer uid;

    private String imageUrl;

    private String nickname;

    private Integer sex;

    private String birthday;

    private String address;

    private String description;

    /**
     * 0 新闻记者，1普通用户
     */
    private Integer flag;

    public Userdetail( String imageUrl, String nickname, Integer sex, String birthday, String address, String description) {
        this.uid = uid;
        this.imageUrl = imageUrl;
        this.nickname = nickname;
        this.sex = sex;
        this.birthday = birthday;
        this.address = address;
        this.description = description;
    }
}
